package com.zwd.deep.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用药方案表
 * </p>
 *
 * @author zwd
 * @since 2025-02-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("medications")
public class Medications implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用药方案唯一标识
     */
    @TableId(value = "medication_id", type = IdType.AUTO)
    private Integer medicationId;

    /**
     * 关联诊断记录ID（关联诊断记录表）
     */
    private Integer diagnosisId;

    /**
     * 药物名称
     */
    private String name;

    /**
     * 用法
     */
    private String dosage;

    /**
     * 注意事项
     */
    private String note;


}
